package com.glsc.ngateway.common.base.repo.oracle.ecology;

import com.glsc.ngateway.common.base.domain.oracle.ecology.WorkflowRequestlog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkflowRequestlogRepository extends JpaRepository<WorkflowRequestlog,Long> , JpaSpecificationExecutor<WorkflowRequestlog> {

    public List<WorkflowRequestlog> findByRequestid(Long requestid);

    List<WorkflowRequestlog> findAllByRequestidIn(List<Long> requestid);
}
